import { IHttpserverOption } from './interface';

export const defaultHttpServerOption:IHttpserverOption = {
  successRequestInterceptor: config => config,
  failtRequestInterceptor: error => Promise.reject(error),
  successResponseInterceptor:response => response.data,
  FailResponseInterceptor:error => Promise.reject(error),
}